<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<!-- START:basics -->
<html>
  <head>
    
       <div id="header">
    <p><g:link class="header-main" controller="dashboard">Blogito</g:link></p>
  <p class="header-sub">A tiny little blog</p>

  <div id="loginHeader">
    <g:loginControl />
  </div>
</div>
    
    
    <title>TekDays - Dashboard</title>
    <meta name="layout" content="main" />
  </head>
  <body>
<!-- END:basics -->
<!-- START:menu -->
    <div class="nav">
      
      <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
      
        <span class="menuButton">
          <a class="home" href="${resource(dir:'')}">Home</a>
        </span>
        <span class="menuButton">
          <g:link class="list" controller="regions" action="list">
            All Regions
          </g:link>
        </span>
        <span class="menuButton">
          <g:link class="list" controller="tailor" action="list">
            All Tailors
          </g:link>
        </span>
        
      <span class="menuButton">
          <g:link class="list" controller="shirt" action="list">
            All Shirts
          </g:link>
        </span>
    </div>
<!-- END:menu -->
<!-- START:body -->
    <div id="event" style='margin:10px 10px 10px 10px'>
      <g:render template="event" model="${['event':event]}" />
    </div>
    
    <div id="shirtDetails" style='margin:10px 10px 10px 10px'>
      <g:render template="shirtDetails" model="${['shirtDetails':shirtDetails]}" />
    </div>
<!-- END:body -->    
<!-- START:basics -->
<!-- START:twitter -->
<g:if test="${event.twitterId}" >
<div id="twitter" style='margin:10px 10px 10px 10px' >
<g:render template="twitter" model="${[dashboard:dashboard]}" />
</div>
</g:if>
<!-- END:twitter -->

  </body>
</html>
<!-- END:basics -->